import React from 'react';

import BaseAction from '../common/BaseAction';
import Constants from '../../common/Constants';

export default class GetSelfDataAction extends BaseAction {
  constructor() {
    super();

    this.moduleType = Constants.MODULE_TYPE.USER;
    this.name = "GetSelfDataAction";
  }

  finish(data, isSucceed) {
    this.caller.setState({
      selfData: data,
    })
  }
}
